
<!DOCTYPE html>
<html lang="zh-CN" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>初一蛙鸣 - 初一蛙鸣</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="Fechin,"> 
    <meta name="description" content="初一蛙鸣-前端-小程序-vue-react,"> 
    
    <link rel="alternative" href="atom.xml" title="初一蛙鸣" type="application/atom+xml"> 
    <link rel="icon" href="/img/favicon.png"> 
    
    
    
    <meta name="twitter:card" content="summary"/>
    <meta name="twitter:title" content="初一蛙鸣 - 初一蛙鸣"/>
    <meta name="twitter:description" content="初一蛙鸣-前端-小程序-vue-react,"/>
    
    
    
    
    <meta property="og:site_name" content="初一蛙鸣"/>
    <meta property="og:type" content="object"/>
    <meta property="og:title" content="初一蛙鸣 - 初一蛙鸣"/>
    <meta property="og:description" content="初一蛙鸣-前端-小程序-vue-react,"/>
    
<link rel="stylesheet" href="/css/diaspora.css">

    <script>window.searchDbPath = "/search.xml";</script>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap" rel="stylesheet">
<meta name="generator" content="Hexo 4.2.1"></head>

<body class="loading">
    <span id="config-title" style="display:none">初一蛙鸣</span>
    <div id="loader"></div>
    <div class="nav">
    <ul id="menu-menu" class="menu">
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="//" title="首页" target="_blank" rel="noopener">首页</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/categories/" title="分类" target="_blank" rel="noopener">分类</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/tags/" title="标签" target="_blank" rel="noopener">标签</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/archives/" title="归档" target="_blank" rel="noopener">归档</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/about/" title="关于" target="_blank" rel="noopener">关于</a>
        </li>
        
    </ul>
	<span class="target"></span>
	<center>
	<div class="hitokoto">
		<span class="typed" id="hitokoto" data-st="true"></span>
	</div>
	</center>
	
	<p class="footerlinks">
		<a href="#" class="iconfont icon-null"></a>
		
            <a href="/" title="facebook" class="iconfont icon-facebook" target="_blank" rel="noopener"> </a>
        
            <a href="/" title="twitter" class="iconfont icon-twitter" target="_blank" rel="noopener"> </a>
        
            <a href="/" title="github" class="iconfont icon-github" target="_blank" rel="noopener"> </a>
        
            <a href="/img/logo.png" title="wechat" class="iconfont icon-wechat" target="_blank" rel="noopener"> </a>
        
            <a href="mailto:xxxx@gmail.com" title="email" class="iconfont icon-email" target="_blank" rel="noopener"> </a>
        
		<a href="#" class="iconfont icon-null"></a>
	</p>
	
    <p id="copyright">
        &copy; 2024 初一蛙鸣.
        <span> | </span>Powered by <a href="https://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a>
        <span> | </span>Theme <a href="https://github.com/Fechin/hexo-theme-diaspora" title="Diaspora" target="_blank" rel="noopener">Diaspora</a> by Fechin
		
		<span> | </span><a rel="nofollow" href="http://www.beian.miit.gov.cn" target="_blank">冀ICP备xxxxxxx号</a>
		
    </p>
</div>

<div id="container">
    
<div id="screen">
    <div id="mark">
        <div class="layer" data-depth="0.4">
            <img src="/img/welcome-cover.jpg" id="cover" crossorigin="anonymous" width="1920" height="1080">
        </div>
    </div>
    <div id="vibrant">
        <svg viewbox="0 0 2880 1620" height="100%" preserveaspectratio="xMaxYMax slice">
            <polygon opacity="0.7" points="2000,1620 0,1620 0,0 600,0 "/>
        </svg>
        <div></div>
    </div>
    <div id="header">
        <div>
            <a class="image-logo" href="/"></a>
			
            <div class="iconfont icon-menu switchmenu"></div>
        </div>
    </div>
    
    <div id="post0">
        <p>三月 26, 2024</p>
        <h2><a href="/2024/03/26/linux/linux%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/" title="linux 常用命令" class="posttitle">linux 常用命令</a></h2>
        <p class="summary">几个常用的命令生成公钥1ssh-keygen

上传公钥到服务器1ssh-copy-id -i ~&#x2F;.s...</p>
    </div>
    
</div>

    <div id="primary">
        
<div class="post">
    <a href="/2024/03/26/react/docker/" title="docker入门总结">
        <img src="/static/images/docker.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 26, 2024</p>
        <h3><a href="/2024/03/26/react/docker/" title="docker入门总结" class="posttitle">docker入门总结</a></h3>
        <p>安装1curl -fsSL https:&#x2F;&#x2F;get.docker.com | bash -s docker --mirror Aliy...</p>
    </div>
</div>


<div class="post">
    <a href="/2024/03/26/react/react%E5%BA%95%E9%83%A8%E5%BC%B9%E7%AA%97%E7%BB%84%E4%BB%B6/" title="react/react底部弹窗组件">
        <img src="/static/images/20200709141237.png" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 26, 2024</p>
        <h3><a href="/2024/03/26/react/react%E5%BA%95%E9%83%A8%E5%BC%B9%E7%AA%97%E7%BB%84%E4%BB%B6/" title="react&#x2F;react底部弹窗组件" class="posttitle">react&#x2F;react底部弹窗组件</a></h3>
        <p>效果图
Popup.tsx1234567891011121314151617181920212223242526272829303132333435363...</p>
    </div>
</div>


<div class="post">
    <a href="/2024/03/26/react/react%E9%98%B2%E6%B7%98%E5%AE%9D%E8%AF%84%E5%88%86%E7%BB%84%E4%BB%B6/" title="react/react防淘宝评分组件">
        <img src="/static/images/20200709173603.png" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 26, 2024</p>
        <h3><a href="/2024/03/26/react/react%E9%98%B2%E6%B7%98%E5%AE%9D%E8%AF%84%E5%88%86%E7%BB%84%E4%BB%B6/" title="react&#x2F;react防淘宝评分组件" class="posttitle">react&#x2F;react防淘宝评分组件</a></h3>
        <p>效果图
StarScore.tsx123456789101112131415161718192021222324252627282930313233343...</p>
    </div>
</div>


<div class="post">
    <a href="/2024/03/26/react/%E5%88%A9%E7%94%A8ES7%E8%A3%85%E9%A5%B0%E5%99%A8%E4%BC%98%E9%9B%85%E7%9A%84%E5%AE%9E%E7%8E%B0%E5%88%86%E4%BA%AB%E5%8A%9F%E8%83%BD/" title="react/利用ES7装饰器优雅的实现分享功能">
        <img src="/img/cover.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 26, 2024</p>
        <h3><a href="/2024/03/26/react/%E5%88%A9%E7%94%A8ES7%E8%A3%85%E9%A5%B0%E5%99%A8%E4%BC%98%E9%9B%85%E7%9A%84%E5%AE%9E%E7%8E%B0%E5%88%86%E4%BA%AB%E5%8A%9F%E8%83%BD/" title="react&#x2F;利用ES7装饰器优雅的实现分享功能" class="posttitle">react&#x2F;利用ES7装饰器优雅的实现分享功能</a></h3>
        <p>利用ES7装饰器优雅的实现分享功能
一、场景小程序分享功能，由于有些页面是需要，有些页面是不需要，不能全局配置。所以我只能在需要分享功能的页面一遍又一遍的...</p>
    </div>
</div>


<div class="post">
    <a href="/2024/03/26/tags/js%E4%BA%8B%E4%BB%B6%E5%BE%AA%E7%8E%AF%E3%80%81%E5%90%8C%E6%AD%A5%E5%BC%82%E6%AD%A5%E3%80%81%E5%AE%8F%E4%BB%BB%E5%8A%A1%E5%BE%AE%E4%BB%BB%E5%8A%A1/" title="tags/js事件循环、同步异步、宏任务微任务">
        <img src="/img/cover.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 26, 2024</p>
        <h3><a href="/2024/03/26/tags/js%E4%BA%8B%E4%BB%B6%E5%BE%AA%E7%8E%AF%E3%80%81%E5%90%8C%E6%AD%A5%E5%BC%82%E6%AD%A5%E3%80%81%E5%AE%8F%E4%BB%BB%E5%8A%A1%E5%BE%AE%E4%BB%BB%E5%8A%A1/" title="tags&#x2F;js事件循环、同步异步、宏任务微任务" class="posttitle">tags&#x2F;js事件循环、同步异步、宏任务微任务</a></h3>
        <p>js事件循环、同步异步、宏任务微任务
​    js是单进程的，浏览器是多进程的。浏览器每一个 tab 标签都代表一个独立的进程，其中浏览器渲染进程（浏览...</p>
    </div>
</div>


<div class="post">
    <a href="/2020/12/05/tags/nginx+%E5%AD%90%E5%9F%9F%E5%90%8D%E5%AE%9E%E7%8E%B0%E7%AB%99%E7%82%B9%E7%AE%A1%E7%90%86/" title="nginx + 子域名实现站点管理">
        <img src="/static/images/nginx.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>十二月 05, 2020</p>
        <h3><a href="/2020/12/05/tags/nginx+%E5%AD%90%E5%9F%9F%E5%90%8D%E5%AE%9E%E7%8E%B0%E7%AB%99%E7%82%B9%E7%AE%A1%E7%90%86/" title="nginx + 子域名实现站点管理" class="posttitle">nginx + 子域名实现站点管理</a></h3>
        <p>主要思路1、先利用统配域名把所有的解析都指向装有nginx的主机
2、主机上分别再不同的端口运行多个项目
3、nginx通过监听host，代理到不同的端口...</p>
    </div>
</div>


<div class="post">
    <a href="/2020/07/17/vue/%E5%88%A9%E7%94%A8%E5%85%A8%E5%B1%80%E4%BA%8B%E4%BB%B6%E5%AE%9E%E7%8E%B0%E8%AF%AD%E9%9F%B3%E8%BF%9E%E7%BB%AD%E6%92%AD%E6%94%BE/" title="利用全局事件实现语音连续播放">
        <img src="/static/images/202007171741.gif" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>七月 17, 2020</p>
        <h3><a href="/2020/07/17/vue/%E5%88%A9%E7%94%A8%E5%85%A8%E5%B1%80%E4%BA%8B%E4%BB%B6%E5%AE%9E%E7%8E%B0%E8%AF%AD%E9%9F%B3%E8%BF%9E%E7%BB%AD%E6%92%AD%E6%94%BE/" title="利用全局事件实现语音连续播放" class="posttitle">利用全局事件实现语音连续播放</a></h3>
        <p>一、效果图
二、思路1、创建一个全局事件
2、为每个播放控件添加一个唯一的ID
3、每次实例化播放控件时就让ID自增1
4、播放结束的时候emit一个事件...</p>
    </div>
</div>


<div class="post">
    <a href="/2020/07/10/react/%E5%95%86%E5%93%81%E8%AF%A6%E6%83%85%E9%A1%B5%E6%BB%9A%E5%8A%A8%E7%9B%91%E5%90%AC%E4%B8%8E%E7%82%B9%E5%87%BB%E8%B7%B3%E8%BD%AC/" title="react/商品详情页滚动监听与点击跳转">
        <img src="/static/images/202007101125.gif" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>七月 10, 2020</p>
        <h3><a href="/2020/07/10/react/%E5%95%86%E5%93%81%E8%AF%A6%E6%83%85%E9%A1%B5%E6%BB%9A%E5%8A%A8%E7%9B%91%E5%90%AC%E4%B8%8E%E7%82%B9%E5%87%BB%E8%B7%B3%E8%BD%AC/" title="react&#x2F;商品详情页滚动监听与点击跳转" class="posttitle">react&#x2F;商品详情页滚动监听与点击跳转</a></h3>
        <p>效果图
tsx1234567891011121314151617181920212223242526272829303132333435363738394...</p>
    </div>
</div>


<div class="post">
    <a href="/2020/07/08/react/%E5%B0%8F%E7%A8%8B%E5%BA%8Finput%E9%99%90%E5%88%B6%E8%BE%93%E5%85%A5%E6%9C%80%E5%A4%A7%E6%95%B0%E9%97%AE%E9%A2%98/" title="小程序input限制输入最大数问题">
        <img src="/static/images/20200708155238.png" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>七月 08, 2020</p>
        <h3><a href="/2020/07/08/react/%E5%B0%8F%E7%A8%8B%E5%BA%8Finput%E9%99%90%E5%88%B6%E8%BE%93%E5%85%A5%E6%9C%80%E5%A4%A7%E6%95%B0%E9%97%AE%E9%A2%98/" title="小程序input限制输入最大数问题" class="posttitle">小程序input限制输入最大数问题</a></h3>
        <p>小程序input限制输入最大数问题需求：类似购物车点加减号，中间可以输入具体的数量。超过最大值之后，数字设置为最大值

上代码12345678910111...</p>
    </div>
</div>


    </div>
    
    <div id="pager"><a href="/page/2/" class="more">加载更多</a></div>
    
</div>
<div id="preview"></div>



</body>


<script src="//lib.baomitu.com/jquery/1.8.3/jquery.min.js"></script>
<script src="/js/plugin.js"></script>
<script src="/js/typed.js"></script>
<script src="/js/diaspora.js"></script>


<link rel="stylesheet" href="/photoswipe/photoswipe.css">
<link rel="stylesheet" href="/photoswipe/default-skin/default-skin.css">


<script src="/photoswipe/photoswipe.min.js"></script>
<script src="/photoswipe/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>






</html>
